<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>电影分类</title>
    <link rel="stylesheet" href="./css/films.css">
    <script src="./js/common.js"></script>
    <script src="./js/jquery.min.js"></script>
    <script src="./js/index.js"></script>
</head>
<body>
    <!-- 项目容器 -->
    <div class="app">
        <!-- 头部搜索 -->
        <nav class="nav-box">
            <div class="nav-input">
                <input id="userInput" type="text">
            </div>
            <div class="nav-btn" id="seachBtn">
                <span>搜索</span>
            </div>
        </nav>
        <!-- 主体内容 -->
        <div class="content-box">
            <!-- 分类列表 -->
            <div class="films-box">
                <div class="list-name">
                    <div class="title">热门电影</div>
                </div>
                <div class="content-list">
                    <!-- 电影展示组件 -->
                    <div class="film-item" onclick="location.href='./detail.html'">
                        <div class="film-img">
                            <img src="./imgs/film.jpg" alt="">
                        </div>
                        <div class="film-title">蚁人2：黄蜂女现身</div>
                        <div class="film-source">
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img close"></span>
                            <span class="star-img close"></span>
                            <span class="star-source">7.9</span>
                        </div>
                    </div>
                    <!-- 电影展示组件 -->
                    <div class="film-item">
                        <div class="film-img">
                            <img src="./imgs/film.jpg" alt="">
                        </div>
                        <div class="film-title">蚁人2：黄蜂女现身</div>
                        <div class="film-source">
                            <span class="star-tip">暂无评分</span>
                        </div>
                    </div>
                    <!-- 电影展示组件 -->
                    <div class="film-item">
                        <div class="film-img">
                            <img src="./imgs/film.jpg" alt="">
                        </div>
                        <div class="film-title">蚁人2：黄蜂女现身</div>
                        <div class="film-source">
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img close"></span>
                            <span class="star-img close"></span>
                            <span class="star-source">7.9</span>
                        </div>
                    </div>
                    <!-- 电影展示组件 -->
                    <div class="film-item">
                        <div class="film-img">
                            <img src="./imgs/film.jpg" alt="">
                        </div>
                        <div class="film-title">蚁人2：黄蜂女现身</div>
                        <div class="film-source">
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img close"></span>
                            <span class="star-img close"></span>
                            <span class="star-source">7.9</span>
                        </div>
                    </div>
                    <!-- 电影展示组件 -->
                    <div class="film-item">
                        <div class="film-img">
                            <img src="./imgs/film.jpg" alt="">
                        </div>
                        <div class="film-title">蚁人2：黄蜂女现身</div>
                        <div class="film-source">
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img close"></span>
                            <span class="star-img close"></span>
                            <span class="star-source">7.9</span>
                        </div>
                    </div>
                    <!-- 电影展示组件 -->
                    <div class="film-item">
                        <div class="film-img">
                            <img src="./imgs/film.jpg" alt="">
                        </div>
                        <div class="film-title">蚁人2：黄蜂女现身</div>
                        <div class="film-source">
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img close"></span>
                            <span class="star-img close"></span>
                            <span class="star-source">7.9</span>
                        </div>
                    </div>
                    <!-- 电影展示组件 -->
                    <div class="film-item">
                        <div class="film-img">
                            <img src="./imgs/film.jpg" alt="">
                        </div>
                        <div class="film-title">蚁人2：黄蜂女现身</div>
                        <div class="film-source">
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img close"></span>
                            <span class="star-img close"></span>
                            <span class="star-source">7.9</span>
                        </div>
                    </div>
                    <!-- 电影展示组件 -->
                    <div class="film-item">
                        <div class="film-img">
                            <img src="./imgs/film.jpg" alt="">
                        </div>
                        <div class="film-title">蚁人2：黄蜂女现身</div>
                        <div class="film-source">
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img close"></span>
                            <span class="star-img close"></span>
                            <span class="star-source">7.9</span>
                        </div>
                    </div>
                    <!-- 电影展示组件 -->
                    <div class="film-item">
                        <div class="film-img">
                            <img src="./imgs/film.jpg" alt="">
                        </div>
                        <div class="film-title">蚁人2：黄蜂女现身</div>
                        <div class="film-source">
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img open"></span>
                            <span class="star-img close"></span>
                            <span class="star-img close"></span>
                            <span class="star-source">7.9</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>